class CreateImages < ActiveRecord::Migration			
  def self.up			
    create_table :images do |t|			
	t.column	:id,	:INT	
	t.column	:document_id,	:INT	
	t.column	:path,	:string	
	t.column	:photo_type,	:string	
	t.column	:member_id,	:INT	
	t.column	:create_date,	:datetime	
	t.column	:location,	:string	
	t.column	:is_deleted,	:boolean	
	t.timestamps			
    end			
  end			
			
  def self.down			
    drop_table :images			
  end			
end			
